const User = require('./user');
const Merchant = require('./merchant');
const Device = require('./device');
const AlarmContactGroup =  require('./alarm_contact_group.js');
const AlarmContactGroupDevice =  require('./alarm_contact_group_device.js');
const AlarmContactGroupUser =  require('./alarm_contact_group_user.js');
const AlarmEvent =  require('./alarm_event.js');
const AlarmNoticeRecord =  require('./alarm_notice_record.js');
const Face =  require('./face.js');
const ReportNoticeRecord =  require('./report_notice_record.js');
const ReportUser =  require('./report_user.js');
const ReportUserGroup =  require('./report_user_group.js');
const ReportUserGroupDevice =  require('./report_user_group_device.js');
const ReportUserGroupReportUser =  require('./report_user_group_report_user.js');
const Upload =  require('./upload.js');
const Config =  require('./config.js');

module.exports = {
    init(router,urlencodedParser){
        Merchant.init(router,urlencodedParser);
        User.init(router,urlencodedParser);
        Device.init(router,urlencodedParser);
        AlarmContactGroup.init(router,urlencodedParser);
        AlarmContactGroupDevice.init(router,urlencodedParser);
        AlarmContactGroupUser.init(router,urlencodedParser);
        Face.init(router,urlencodedParser);
        AlarmEvent.init(router,urlencodedParser);
        Upload.init(router,urlencodedParser);
        Config.init(router,urlencodedParser);
    }
};
